package com.adderis.soft.service;

import java.util.List;

import com.adderis.soft.domain.model.Viscosite;

public interface IViscositeBo {

	/**
	 * Persist a Viscosite entity in the database
	 * 
	 * @param transientViscosite
	 */
	public void persist(Viscosite transientViscosite);

	/**
	 * Remove a persisted Viscosite from the database
	 * 
	 * @param persistentViscosite
	 */
	public void remove(Viscosite persistentViscosite);

	public void remove(Integer id);

	/**
	 * Update a Viscosite in the database
	 * 
	 * @param detachedViscosite
	 * @return merged Viscosite
	 */
	public Viscosite merge(Viscosite detachedViscosite);

	/**
	 * Find a Viscosite by id
	 * 
	 * @param id
	 * @return the found Viscosite
	 */
	public Viscosite findById(Integer id);

	/**
	 * Find a Viscosite by id
	 * 
	 * @return the found Viscosite
	 */
	public List<Viscosite> findAll();

	/**
	 * Search Viscosites
	 * 
	 * @param searchString
	 * @return the found Viscosites
	 */
	public List<Viscosite> search(String searchString);

}

